package com.xh.bussiness.practice.service;



import com.xh.bussiness.practice.bean.request.PracticeCommonCommentRequest;
import com.xh.bussiness.practice.model.PracticeCommonComment;
import com.xh.core.service.IBaseService;
import com.xh.core.bean.XhPage;
import java.util.List;

/**
 * <p>
 * 作业批改常用语库 服务类
 * </p>
 *
 * @author Jqm
 * @since 2021-04-29
 */
public interface IPracticeCommonCommentService extends IBaseService<PracticeCommonComment> {

    /**
     * 分页查询方法
     * @param page
     * @param bean
     * @return
     */
    public XhPage queryPracticeCommonCommentPage(XhPage page, PracticeCommonCommentRequest bean);

    /**
     * 查询方法
     * @param bean
     * @return
     */
    public List queryPracticeCommonComment(PracticeCommonCommentRequest bean);

    /**
     * 增加常用评语
     * @author 赵文博
     * @date 2021/4/29 10:58
     * @param commonComment
     * @return int
     **/
    public boolean add(PracticeCommonComment commonComment);

    /**
     * 逻辑删除
     * @author 赵文博
     * @date 2021/4/29 10:59
     * @param id
     * @return boolean
     **/
    public boolean deleteComment(String id);
}
